package com.ruoyi.system.mapper;
import java.util.List;
import com.ruoyi.system.domain.SysWithdrawRule;
import com.ruoyi.system.vo.SysWithdrawRuleRes;

/**
 * 商户代付规则Mapper接口
 *
 * @author Ericcc
 * @date 2021-03-15
 */
public interface SysWithdrawRuleMapper
{
    /**
     * 查询商户代付规则
     *
     * @param withdrawId 商户代付规则ID
     * @return 商户代付规则
     */
    public SysWithdrawRule selectSysWithdrawRuleById(Long withdrawId);

    /**
     * 查询商户代付规则列表
     *
     * @param sysWithdrawRule 商户代付规则
     * @return 商户代付规则集合
     */
    public List<SysWithdrawRule> selectSysWithdrawRuleList(SysWithdrawRule sysWithdrawRule);

    /**
     * 新增商户代付规则
     *
     * @param sysWithdrawRule 商户代付规则
     * @return 结果
     */
    public int insertSysWithdrawRule(SysWithdrawRule sysWithdrawRule);

    /**
     * 修改商户代付规则
     *
     * @param sysWithdrawRule 商户代付规则
     * @return 结果
     */
    public int updateSysWithdrawRule(SysWithdrawRule sysWithdrawRule);

    /**
     * 删除商户代付规则
     *
     * @param withdrawId 商户代付规则ID
     * @return 结果
     */
    public int deleteSysWithdrawRuleById(Long withdrawId);

    /**
     * 批量删除商户代付规则
     *
     * @param withdrawIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysWithdrawRuleByIds(String[] withdrawIds);

    /**
     * 查询商户代付规则列表
     *
     * @param sysWithdrawRule 商户代付规则
     * @return 商户代付规则集合
     */
    public List<SysWithdrawRuleRes> selectSysWithdrawRuleResList(SysWithdrawRule sysWithdrawRule);
}